package com.ruoyi.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 商家入驻对象 business
 * 
 * @author ruoyi
 * @date 2024-11-12
 */
public class Business extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商家标识id */
    @Excel(name = "商家标识id")
    private Long businessId;

    /** 商家名称 */
    @Excel(name = "商家名称")
    private String businessName;

    /** 商家类型（1：食品，2：服装，3：化妆品，4：电器，5：日用品，6：其他） */
    @Excel(name = "商家类型", readConverterExp = "1=：食品，2：服装，3：化妆品，4：电器，5：日用品，6：其他")
    private Long businessClass;

    /** 身份证头像 */
    @Excel(name = "身份证头像")
    private String businessHeadPortrait;

    /** 人脸认证数据 */
    @Excel(name = "人脸认证数据")
    private String businessFaces;

    /** 申请入驻时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请入驻时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date businessApplyTime;

    /** 入住时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入住时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date businessRegisterTime;

    /** 商家联系电话 */
    @Excel(name = "商家联系电话")
    private String businessPhone;

    /** 身份证国徽 */
    @Excel(name = "身份证国徽")
    private String businessNationalEmblem;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String businessShopEmail;

    /** 入驻状态 */
    @Excel(name = "入驻状态")
    private String businessState;

    public void setBusinessId(Long businessId) 
    {
        this.businessId = businessId;
    }

    public Long getBusinessId() 
    {
        return businessId;
    }
    public void setBusinessName(String businessName) 
    {
        this.businessName = businessName;
    }

    public String getBusinessName() 
    {
        return businessName;
    }
    public void setBusinessClass(Long businessClass) 
    {
        this.businessClass = businessClass;
    }

    public Long getBusinessClass() 
    {
        return businessClass;
    }
    public void setBusinessHeadPortrait(String businessHeadPortrait) 
    {
        this.businessHeadPortrait = businessHeadPortrait;
    }

    public String getBusinessHeadPortrait() 
    {
        return businessHeadPortrait;
    }
    public void setBusinessFaces(String businessFaces) 
    {
        this.businessFaces = businessFaces;
    }

    public String getBusinessFaces() 
    {
        return businessFaces;
    }
    public void setBusinessApplyTime(Date businessApplyTime) 
    {
        this.businessApplyTime = businessApplyTime;
    }

    public Date getBusinessApplyTime() 
    {
        return businessApplyTime;
    }
    public void setBusinessRegisterTime(Date businessRegisterTime) 
    {
        this.businessRegisterTime = businessRegisterTime;
    }

    public Date getBusinessRegisterTime() 
    {
        return businessRegisterTime;
    }
    public void setBusinessPhone(String businessPhone) 
    {
        this.businessPhone = businessPhone;
    }

    public String getBusinessPhone() 
    {
        return businessPhone;
    }
    public void setBusinessNationalEmblem(String businessNationalEmblem) 
    {
        this.businessNationalEmblem = businessNationalEmblem;
    }

    public String getBusinessNationalEmblem() 
    {
        return businessNationalEmblem;
    }
    public void setBusinessShopEmail(String businessShopEmail) 
    {
        this.businessShopEmail = businessShopEmail;
    }

    public String getBusinessShopEmail() 
    {
        return businessShopEmail;
    }
    public void setBusinessState(String businessState) 
    {
        this.businessState = businessState;
    }

    public String getBusinessState() 
    {
        return businessState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("businessId", getBusinessId())
            .append("businessName", getBusinessName())
            .append("businessClass", getBusinessClass())
            .append("businessHeadPortrait", getBusinessHeadPortrait())
            .append("businessFaces", getBusinessFaces())
            .append("businessApplyTime", getBusinessApplyTime())
            .append("businessRegisterTime", getBusinessRegisterTime())
            .append("businessPhone", getBusinessPhone())
            .append("businessNationalEmblem", getBusinessNationalEmblem())
            .append("businessShopEmail", getBusinessShopEmail())
            .append("businessState", getBusinessState())
            .toString();
    }
}
